﻿using System.Text;

namespace Framework.Util.EmailUtil
{
    public class EmailContent
    {
        public static string RegisterTitle()
        {
            return "Register successfully";
        }
        public static string RegisterContent(string username, string activecode)
        {
            var b = new StringBuilder();
            b.Append("Register successfully");
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("Welcome " + "<b>" + username + "</b>" + " to website “gamebetplus.com ");
            b.Append("<br/>");
            b.Append("We are pleased to inform you that your application has been approved and your account was created. ");
            b.Append("Only one more step that you can use all function of gamebetplus.com, click here or copy link and paste address into your browser to activate your account: ");
            b.Append("Link account activation:" + " http://www.gamebetplus.com/User/Active?activeCode=" + activecode +
                     "&userName=" + username);
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("Sincerely: Website Administrators");
            return b.ToString();
        }

        public static string ChangePassowrdTitle()
        {
            return "Email confirmation to change password";
        }
        public static string ChangePasswordContent(string fullname, string username, string password)
        {
            var b = new StringBuilder();
            b.Append("Email confirmation to change password");
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("Sincerely " + "<b>" + fullname + "</b>");
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("Website “Gamebetplus.com”  inform  that your password has been changed successfully.");
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("UserName: " + "<b>" + username + "</b>");
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("Password: " + "<br>" + password + "</b>");
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("Please remember your new password. you can review your new account information, if you have any problem what happens to the new account information, please contact us to be resolved as soon as via email: " + "sport@gamebetplus.com");
            b.Append("<br/>");
            b.Append("<br/>");
            b.Append("Sincerely,");
            b.Append("<br/>");
            b.Append("Website Administrators");
            return b.ToString();
        }
    }
}